<?php
class Menu
{
	function header_nav()
	{
		$header_nav = '<div class="header_container clearfix" ><div class="go-header-left"><div class="go-logo"></div><div class="go-logged-in-as">';
		$header_nav .= '已登录  '.Sessions::get('groupname').', '.Sessions::get('username').'</div>';
		$header_nav .= <<<END
	</div>
	<div class="go-header-right">
			<div class="secondary-menu">
				<span ></span>			
				<span ><input type="text" size="20" autocomplete="off" id="ext-comp-1607" name="search_query" class=" x-form-text x-form-field x-form-empty-field"></span>
				<a  href="#">Start menu</a>
				<span >|</span>
				<a >设置</a>
				<span>|</span>
				<a >帮助</a>
				<span >|</span>
				<a href="/admin/user/logout.php">退出</a>
			</div>
	</div>
</div>
<div>
	<ul id="menu" class="head_menu">
		<li>
			<a href="/admin/role/role.php" onMouseOver="menuObjectFun.mopen('role_menu')" onMouseOut="menuObjectFun.mclosetime()">全局</a>
			<ul class="menuSecUl" id="role_menu" onMouseOver="menuObjectFun.mcancelclosetime()" onMouseOut="menuObjectFun.mclosetime()">
				<li>
					<a href="/admin/role/user_lists.php" title="权限管理" onMouseOver="menuObjectFun.mopen3('n3')" onMouseOut="menuObjectFun.mclosetime3()">权限管理</a>
					<ul class="menuThiUl" id="n3" onMouseOver="menuObjectFun.mcancelclosetime3()" onMouseOut="menuObjectFun.mclosetime3()">
						<li><a href="/admin/role/position_lists.php" title="职务管理">职务管理</a></li>
						<li><a href="/admin/role/user_lists.php" title="成员管理">成员管理</a></li>
					</ul>
				</li>
				<li>
					<a href="/admin/analytic_code/code_lists.php" title="统计代码管理">统计代码管理</a>
				</li>
			</ul>
		</li>
		<li>
			<a href="/admin/news/news.php" onMouseOver="menuObjectFun.mopen('news_menu')" onMouseOut="menuObjectFun.mclosetime()">文章</a>
			<ul class="menuSecUl" id="news_menu" onMouseOver="menuObjectFun.mcancelclosetime()" onMouseOut="menuObjectFun.mclosetime()">
				<li>
					<a href="/admin/news/news_lists.php" title="文章管理" onMouseOver="menuObjectFun.mopen3('n1')" onMouseOut="menuObjectFun.mclosetime3()">文章管理</a>
					<ul class="menuThiUl" id="n1" onMouseOver="menuObjectFun.mcancelclosetime3()" onMouseOut="menuObjectFun.mclosetime3()">
						<li><a href="/admin/news/news_lists.php" title="文章列表">文章列表</a></li>
						<li><a href="/admin/news/news_add.php" title="添加文章">添加文章</a></li>
						<li><a href="/admin/news/empty_add.php" title="添加空白文章">添加空白文章</a></li>
						<li><a href="/admin/news/news_relative.php" title="手动推荐">手动推荐</a></li>
						<li><a href="/admin/news/news_recover.php" title="回收站">回收站</a></li>
					</ul>
				</li>
				<li>
					<a href="/admin/news/category/category_lists.php" title="栏目管理" onMouseOver="menuObjectFun.mopen3('n2')" onMouseOut="menuObjectFun.mclosetime3()">栏目管理</a>
					<ul class="menuThiUl" id="n2" onMouseOver="menuObjectFun.mcancelclosetime3()" onMouseOut="menuObjectFun.mclosetime3()">
						<li><a href="/admin/news/category/category_lists.php" title="栏目列表">栏目列表</a></li>
						<li><a href="/admin/news/category/category_add.php" title="添加文章">添加栏目</a></li>
						<li><a href="/admin/news/category/category_recover.php" title="回收站">回收站</a></li>
					</ul>
				</li>
			</ul>
		</li>
		<li>
			<a href="/admin/vip/vip.php" onMouseOver="menuObjectFun.mopen('vip_menu')" onMouseOut="menuObjectFun.mclosetime()">会员</a>
			<ul class="menuSecUl" id="vip_menu" onMouseOver="menuObjectFun.mcancelclosetime()" onMouseOut="menuObjectFun.mclosetime()">
				<li>
					<a href="/admin/vip/vip_lists_buy.php" title="纯买家会员">纯买家会员</a>
				</li>
				<li>
					<a href="/admin/vip/vip_lists_trading.php" title="缴费交易会员">缴费交易会员</a>
				</li>
				<li>
					<a href="/admin/vip/vip_lists_upgrade.php" title="会员升级">会员升级</a>
				</li>
				<li>
					<a href="/admin/vip/vip_lists_buy_before.php" title="预审" onMouseOver="menuObjectFun.mopen3('n4')" onMouseOut="menuObjectFun.mclosetime3()">预审</a>
					<ul class="menuThiUl" id="n4" onMouseOver="menuObjectFun.mcancelclosetime3()" onMouseOut="menuObjectFun.mclosetime3()">
						<li><a href="/admin/vip/vip_lists_buy_before.php" title="纯买家会员">纯买家会员</a></li>
						<li><a href="/admin/vip/vip_lists_trading_before.php" title="缴费交易会员">缴费交易会员</a></li>
					</ul>
				</li>
				<li>
					<a href="/admin/vip/vip_search.php" title="会员搜索">会员搜索</a>
				</li>
			</ul>
		</li>
		<li>
			<a href="/admin/star/star.php" onMouseOver="menuObjectFun.mopen('star_menu')" onMouseOut="menuObjectFun.mclosetime()">名人</a>
			<ul class="menuSecUl" id="star_menu" onMouseOver="menuObjectFun.mcancelclosetime()" onMouseOut="menuObjectFun.mclosetime()">
				<li>
					<a href="/admin/star/star_lists.php">名人列表</a>
				</li>
				<li>
					<a href="/admin/star/star_add.php">添加名人</a>
				</li>
				<li>
					<a href="/admin/star/star_recover.php">回收站</a>
				</li>
				<li>
					<a href="/admin/star/star_search.php">搜索名人</a>
				</li>
			</ul>
		</li>
		<li><a href="/admin/log/log.php">日志</a></li>
	</ul>
</div>
END;
		return $header_nav;
	}
}